package com.zjgsu.nftplatform.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author ahy231
 * @date 2022/3/6 12:12
 * @description
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("树结点")
public class TreeNode {
    @ApiModelProperty("nft id")
    private String nftId;
    @ApiModelProperty("子结点")
    private List<TreeNode> children;
    @ApiModelProperty("父节点")
    private List<TreeNode> parents;
}
